#ifndef WORKCONTROL_H
#define WORKCONTROL_H

#include <QObject>
#include "Singleton.hpp"
#include "Ptr.hpp"
#include "Work.h"



using namespace OOPUtils;



class WorkControl : public QObject, public Singleton< WorkControl >
{

  Q_OBJECT
  friend class Singleton< WorkControl >;

private:

  WorkControl ();

public:

  Ptr< Work > createWorkFromFile (const QString & filePath);

};

#endif // WORKCONTROL_H
